package com.mall.sun.repository.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mall.sun.model.dto.OrderDTO;
import com.mall.sun.model.po.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tansty
 * @since 2021-11-30
 */
public interface OrdersMapper extends BaseMapper<Orders> {
    OrderDTO[] getAllOrders(Page<OrderDTO> page);
    int updateOrder(OrderDTO orderDTO);
}
